package com.zqxq.dataprovider;

import org.testng.annotations.DataProvider;

public class normalDataProvider {
	private static String LoginUrl = "http://dqk.newzqxq.com/user/loginByPassword";
	private static String Phone = "13648307417";
	private static String normalPasswd = "123456";
	private static String UsercenterUrl = "http://xjjq.newzqxq.com/api/usercenter/selectall?type=1";
	private static String findLoanProductListUrl = "http://dqk.newzqxq.com/loan/findLoanProductList";
	
	public static String getLoginUrl()
	{
		return LoginUrl;
		
	}
	
	public static String getProductListUrl()
	{
		return findLoanProductListUrl;
		
	}
	
	public static String getPhone()
	{
		return Phone;
		
	}
	
	public static String getPasswd()
	{
		return normalPasswd;
		
	}
	
	@DataProvider(name="NormalLogin")
	public static Object[][] NormalLogin(){
		return new Object[][] {
		{LoginUrl,Phone,normalPasswd}
		};
		
	}
	
	@DataProvider(name="NormalUsercenter")
	public static Object[][] NormalUsercenter(){
		return new Object[][] {
		{UsercenterUrl,Phone,normalPasswd}
		};
		
	}

	@DataProvider(name="findLoanProductList")
	public static Object[][] findLoanProductList(){
		return new Object[][] {
		{findLoanProductListUrl,Phone,normalPasswd}
		};
		
	}
}
